﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using tracker.Models.Entities;
using tracker.Models.DAL;
using tracker.Models;

namespace tracker.Controllers
{
    public class HandlerGetAllTrackerIconInfoController : Controller
    {
        //
        // GET: /HandlerGetAllTrackerIconInfo/
        [CallAjaxFilter]
        public JsonStringResult Index()
        {
            String result = "";
            List<EImageList> list = new ImageListDAL().getAllListImage(1);
            result = Utilities.getJsonString(list, "images:", 1);
            return new JsonStringResult(result);
        }

    }
}
